POST $[[SETUP_INDEX_PREFIX]]datasource$[[SETUP_SCHEMA_VER]]/$[[SETUP_DOC_TYPE]]/coco_server_docs
{
 "_system": {
            "owner_id": "$[[SETUP_OWNER_ID]]"
          },
  "id" : "coco_server_docs",
  "created" : "2025-03-04T14:26:23.43811+08:00",
  "updated" : "2025-03-04T14:26:23.439214+08:00",
  "type" : "connector",
  "name" : "Coco Server 文档",
  "icon" : "font_coco",
  "connector" : {
    "id" : "hugo_site",
    "config" : {
      "urls" : [
        "https://docs.infinilabs.com/coco-server/main/index.json"
      ]
    }
  },
  "sync" : {
    "enabled": true,
    "interval" : "600m",
    "strategy" : "interval"
  },
  "enabled" : true
}

POST $[[SETUP_INDEX_PREFIX]]datasource$[[SETUP_SCHEMA_VER]]/$[[SETUP_DOC_TYPE]]/coco_app_docs
{
 "_system": {
            "owner_id": "$[[SETUP_OWNER_ID]]"
          },
  "id" : "coco_app_docs",
  "created" : "2025-03-04T14:25:23.43811+08:00",
  "updated" : "2025-03-04T14:25:23.439214+08:00",
  "type" : "connector",
  "name" : "Coco App 文档",
  "icon" : "https://coco.rs/favicon.ico",
  "connector" : {
    "id" : "hugo_site",
    "config" : {
      "urls" : [
        "https://docs.infinilabs.com/coco-app/main/index.json"
      ]
    }
  },
  "sync" : {
    "enabled": true,
    "interval" : "600m",
    "strategy" : "interval"
  },
  "enabled" : true
}

POST $[[SETUP_INDEX_PREFIX]]datasource$[[SETUP_SCHEMA_VER]]/$[[SETUP_DOC_TYPE]]/hacker_news
{
 "_system": {
            "owner_id": "$[[SETUP_OWNER_ID]]"
          },
  "id" : "hacker_news",
  "created" : "2025-03-04T14:25:23.43811+08:00",
  "updated" : "2025-03-04T14:25:23.439214+08:00",
  "type" : "connector",
  "name" : "Hacker News",
  "icon" : "https://news.ycombinator.com/favicon.ico",
  "connector" : {
    "id" : "rss",
    "config" : {
      "urls" : [
        "https://news.ycombinator.com/rss"
      ]
    }
  },
  "sync" : {
    "enabled": true,
    "interval" : "600m",
    "strategy" : "interval"
  },
  "enabled" : true
}

POST $[[SETUP_INDEX_PREFIX]]datasource$[[SETUP_SCHEMA_VER]]/$[[SETUP_DOC_TYPE]]/gitlab_webhook_datasource
{
 "_system": {
            "owner_id": "$[[SETUP_OWNER_ID]]"
          },
  "webhook":{
    "enabled": true
  },
  "enrichment_pipeline": {
    "name": "gitlab_merge_events",
    "enabled": true,
    "processor": [
      {
        "gitlab_incoming_message":{
          "token":"TOKEN",
          "endpoint":"http://xxx.com/",
          "report_assistant":"gitlab_ai_reviewer",
          "summary_assistant":"gitlab_ai_pr_summary",
           "max_batch_size": 10,
           "max_input_length": 10240,
          "page_size":10
        }
      }
    ]
  },
  "connector": {
    "id": "gitlab_webhook_receiver"
  },
  "created": "2025-11-05T16:48:21.692002+08:00",
  "name": "Gitlab CI Webhook",
  "id": "gitlab_webhook_datasource",
    "icon": "font_gitlab",
  "type": "connector",
  "updated": "2025-11-05T17:05:52.885677+08:00",
  "sync": {
    "interval": "1h",
    "strategy": "interval",
    "enabled": false,
    "page_size": 0
  },
  "enabled": true
}